package com.qianya.model.pojo.patient.qo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.qianya.model.common.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Pattern;
import java.sql.Blob;
import java.util.Date;

/**
 * <p>
 * 患者档案
 * </p>
 *
 * @author lhl
 * @since 2020-07-02
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="PatientFileInfoQO对象", description="患者档案")
public class PatientFileInfoQO extends BaseEntity {

    private static final long serialVersionUID = -910004811411809742L;
    @ApiModelProperty(value = "患者姓名")
    private String filePatientName;

    @ApiModelProperty(value = "his住院号")
    private String fileHospitalNum;

    @ApiModelProperty(value = "入院开始日期")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date fileAdmissionDate;

    @ApiModelProperty(value = "入院结束日期")
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private Date fileDischargeDate;



}
